home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- generalTimer()
- set cupcake_list to [673, 693, 1432, 1458, 2190, 2215]
- set cupchorus_list to [10, 20, 40, 51, 72, 86, 135, 155, 168, 193, 264, 279, 323, 347, 360, 386, 459, 483, 521, 545, 557, 579, 771, 845, 859, 904, 933, 945, 967, 1032, 1047, 1095, 1118, 1131, 1153, 1225, 1239, 1282, 1308, 1322, 1343, 1546, 1610, 1622, 1673, 1696, 1708, 1732, 1797, 1811, 1858, 1882, 1895, 1919, 1987, 2001, 2045, 2069, 2083, 2105]
- set counter_cupchorus to 1
- set counter_cup to 1
- set x to the castNum of sprite 11
- set AudioMovie to the name of cast x
- set AudioMovieEnd to the duration of cast AudioMovie
- repeat while (the movieTime of sprite 11 < AudioMovieEnd) and not (the mouseDown)
- BounceHat(20)
- CakeBlink()
- set counter_cupchorus to AnimateCupcakesChorus(cupchorus_list, counter_cupchorus)
- set counter_cup to AnimateCupCakes(cupcake_list, counter_cup)
- updateStage()
- end repeat
- puppetSprite(20, 0)
- puppetSprite(21, 0)
- setLocalStage()
- go("P2")
- UpDateBook()
- end
-